﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PhysicsSimulator
{
    public class ItemListDataLoad
    {
        public string Name
        {
            get;
            set;
        }
        public string Angle//góc ngiêng
        {
            get;
            set;
        }
        public string Velocity//vận tốc đầu
        {
            get;
            set;
        }
        public string Gravity//
        {
            get;
            set;
        }
        public string HeightFirst// độ cao ban đầu
        {
            get;
            set;
        }

        public ItemListDataLoad(ThrowObliqueData data)
        {
            Name = data.Name;
            Angle = "alpha= " + data.Angle.ToString() + "°";
            Velocity = "Vo= " + data.Velocity.ToString() + "(m/s)";
            Gravity = "g= " + data.Gravity.ToString() + "(m/s²)";
            HeightFirst = "h= " + data.HeightFirst.ToString() + "(m)";
        }
    }
}
